<a href='{buildurl:app=user;module=deleteU}&user={$id}' title='{lang='admin.user.user.list.deluser'} #{$id}' id='del{$id}'><img src='%ICON_URI%/delete.png' alt='{lang='admin.user.user.list.deluser'}' /></a>
<script type='text/javascript'>
	link = $("#del{$id}");
	link.attr("href", "#");
	link.click(function(){
	// Let's Deletey!
	$.ajax({
		type: "GET",
		url: "admin.php",
		data: "app=user&module=deleteU&user={$id}",
		error: niceAlert("{lang='admin.user.user.delete.fail'}", 1),
		success: function(){
			niceAlert("{lang='admin.user.user.delete.deleted1'}{$id}{lang='admin.user.user.delete.deleted2'}", 2);
			$("#cont{$id}").slideUp(1000, function(){
				$("#cont{$id}").html("<span style='color:red'><img src='%ICON_URI%/cross.png' alt='X' /> {lang='admin.user.user.list.delcuser'}</span>");
				$("#cont{$id}").slideDown(1000);
			});
		}
	});
 });
</script>
